package 人事管理系统.Tables;

public class Salaryinfo {
    //工资编号SNO，员工号ENO，基础工资BasicSalary，发放时间Givetime
    private String Sno;
    private String Eno;
    private String Basicsalary;
    private String Givetime;

    //构造函数

    public Salaryinfo() {
    }

    public Salaryinfo(String sno, String eno, String basicsalary, String givetime) {
        Sno = sno;
        Eno = eno;
        Basicsalary = basicsalary;
        Givetime = givetime;
    }

    //get and set

    public String getSno() {
        return Sno;
    }

    public void setSno(String sno) {
        Sno = sno;
    }

    public String getEno() {
        return Eno;
    }

    public void setEno(String eno) {
        Eno = eno;
    }

    public String getBasicsalary() {
        return Basicsalary;
    }

    public void setBasicsalary(String basicsalary) {
        Basicsalary = basicsalary;
    }

    public String getGivetime() {
        return Givetime;
    }

    public void setGivetime(String givetime) {
        Givetime = givetime;
    }

    //重写tostring

    @Override
    public String toString() {
        return "Salaryinfo{" +
                "Sno='" + Sno + '\'' +
                ", Eno='" + Eno + '\'' +
                ", Basicsalary='" + Basicsalary + '\'' +
                ", Givetime='" + Givetime + '\'' +
                '}';
    }
}
